package gridy.node;

import java.net.InetAddress;
import java.net.UnknownHostException;

import org.apache.tuscany.sca.node.launcher.DomainManagerLauncher;

public class LaunchDomain {
    public static void main(String[] args) throws Exception {
        
        String hostname;
        try {
            InetAddress addr = InetAddress.getLocalHost();   
            hostname = addr.getHostName();
        } catch (UnknownHostException e) {
            throw new RuntimeException(e);
        }
        System.out.println("DomainManager will be launched, hostname = "+hostname);
        DomainManagerLauncher.main(args);
    }
    
}
